DescribeConfigTarget
Description
obtain the host asset information of the application's specified login security settings.
Request Method
POST
Request Path
/apsara/route/aegis/DescribeConfigTarget
Request Parameters Common Parameters
Name | Location | Type | Required | Sample value | Description |
---|---|---|---|---|---|
Type | BODY | string | Yes | No sample value for this parameter. | Common logon configuration record types. Valid values: login_common_location: indicates common login place login_common_ip: indicates common login IP login_common_time: indicates common login time login_common_account: indicates a common login account |
Target | BODY | string | No | No sample value for this parameter. | specifies the host asset. description this parameter needs to be specified when obtaining the login security configuration record of the specified asset. please refer to the request example for the specific format. |
regionId | BODY | string | Yes | No sample value for this parameter. | region id |
version | BODY | string | No | 2016-01-01 | version of api |
Return data
Name | Type | Sample value | Description |
---|---|---|---|
TargetList | array | no demo value | the host asset information to which the configuration is applied. see the following parameter description for specific sub-items. |
Target | string | no demo value | asset group ID or host asset UUID. |
RequestId | string | no demo value | request ID. |
TargetType | string | no demo value | The type of Target parameter value: groupId: indicates asset group ID uuid: indicates the host asset UUID |
Count | integer | no demo value | returns the total number of records. |
Example
Successful Response example
{
"TargetList":"no demo value",
"Target":"no demo value",
"RequestId":"no demo value",
"TargetType":"no demo value",
"Count":"no demo value"
}
Failed Response example
{
"errorSample":
{
"resultCode":-1,
"resultMsg":"system error",
"result":null
}
}